Don't auto-build dotfiles in inferred folders
authorAlex Crichton <alex@alexcrichton.com>
Mon, 18 May 2015 15:32:35 +0000 (08:32 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 18 May 2015 15:32:35 +0000 (08:32 -0700)
commit1727409e6d0040bceae4704e090bad3019ba7be8
treeb60ff0aecdf7e308b93477a166506a7fe91de90a
parenta48358155c90467ed9c897930dd0da4614605dac
Don't auto-build dotfiles in inferred folders

Whenever Cargo infers various targets for a project it currently picks up all
files in associated folders, but dotfiles are a common example of files which
editors generate which Cargo should not pick up, so this commit ignores all
dotfiles in the folders that it is looking at.

Closes #1615
src/cargo/util/toml.rs
tests/test_cargo_compile.rs